package com.idak.rdv.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.idak.rdv.dao.AppointmentDao;
import com.idak.rdv.db.Appointment;
import com.idak.rdv.service.AppointmentService;

@Service
public class AppointmentServiceImpl implements AppointmentService {

	@Autowired
	private AppointmentDao appointmentDao;
	
	public List<Appointment> getAllAppointments() {
		return appointmentDao.getAll();
	}

}
